export {
    Notice
};


/**
 * 弹窗消息对象
 */
class Notice {

    msgs: string[] = [];

    push(e: string) {
        let index = this.msgs.push(e);
        setTimeout(() => {
            delete this.msgs[index - 1];
        }, 3000);
    }

}


